package one.stand.event;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.context.ApplicationEvent;

@Data
@EqualsAndHashCode(callSuper = true)
public class LiveRoomOpenEvent extends ApplicationEvent {
    /**
     * Create a new ApplicationEvent
     */
    private LiveRoomOpenEvent() {
        super("live room open");
    }

    public LiveRoomOpenEvent(Integer roomId) {
        this();
        this.roomId = roomId;
    }

    private Integer roomId;
}
